$status: #e2f8f2 #31cc9c 0, #f4f2ff #a691ff 1,#FFF2EB #FD8546 2, #eff4ff #406eff 3, #fff8ea #FFBC3D 4, #F8E2E2 #FF4E5F 5;
.question-type {
  width: 56px;
  height: 20px;
  padding: 0 10px;
  line-height: 20px;
  border-radius: 10px;
  font-size: 12px;
  text-align: center;
  @each $bgc, $color, $i in $status {
    &.type#{$i} {
      background: $bgc;
      color: $color;
    }
  }
}
